/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 26727
 * Date: 2024-04-04
 * Time: 21:25
 */
public class Student {
    public String name;
    public int age;
    public int sno;

    public Student(String name, int age, int sno) {
        this.name = name;
        this.age = age;
        this.sno = sno;
        System.out.println("我是构造方法！");
    }
    {
        System.out.println("我是实例代码块/非静态代码块/构造代码块");
    }
    static {
        System.out.println("我是静态代码块");
    }
}
